package org.nlp2rdf.navigator.server.tiger;

import java.io.File;
import java.net.URL;
import java.util.List;

import org.dllearner.core.EvaluatedDescription;

public interface IWorker2 {

	/**
	 * @param search A String, which will later be mapped to bif:contains
	 * @param nrOfResults How many results are returned
	 * @return SearchResult result object
	 */
	public abstract SearchResult searchFulltext(String search, int nrOfResults);

	/**
	 * see fulltextsearch
	 * @param search
	 * @param nrOfResults
	 * @return
	 */
	public abstract SearchResult searchLemmas(String search, int nrOfResults);

	public abstract File collect(List<URL> urls);

	public abstract EvaluatedDescription learn(List<Sentence> pos,
			List<Sentence> neg, int maxSeconds);

	public abstract List<Sentence> getSentences(EvaluatedDescription ed,
			int resultLimit);
	
	public abstract RetrievalResult getSentencesNew(EvaluatedDescription ed,
			int resultLimit);
	
	public abstract String getLabelForURI(String uri);
	
	public abstract String getLabelsForConcept(String name);

}